<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
<link rel="stylesheet" href="{$Think.config.Style}/css/ch-ui.admin.css">
    <link rel="stylesheet" href="{$Think.config.Style}/font/css/font-awesome.min.css">
</head>
<body>
     {include file="public/breadcrumb"/}

	<!--结果集标题与导航组件 开始-->
	<div class="result_wrap">
        <div class="result_title">
            <h3>新增用户组</h3>
        </div>

    </div>
    <!--结果集标题与导航组件 结束-->
    
    <div class="result_wrap">
        <form action="{:url('back/groupdata/add')}" method="post">
            <table class="add_tab">
                <tbody>
                    <tr>
                        <th>用户组名称：</th>
                        <td>
                            <input type="text" name="title">  
                        </td>
                    </tr>
                    <tr>
                        <th>描述：</th>
                        <td>
                            <textarea name="remark"></textarea>
                        </td>
                    </tr>
 {volist name="$ruleRows" id="rules"}
  <tr>
     <th><label for=""><input type="checkbox" name="rules[]" value="{$rules.id}">{$rules.title} </label></th>
       <td>
        {volist name="$rules->parent" id="rule"}
          <label for=""><input type="checkbox" name="rules[]" value="{$rule.id}"><b>{$rule.title}</b></label>
            {volist name="$rule->parent" id="ru"}
          <label for=""><input type="checkbox" name="rules[]" value="{$ru.id}">{$ru.title}</label>
            {/volist} <br>
        {/volist} 
     </td>
  </tr>
 {/volist}
                    <tr>
                        <th></th>
                        <td>
                            <input type="submit" value="添加">
                            <input type="button" class="back" onclick="history.go(-1)" value="返回">
                        </td>
                    </tr>
                </tbody>
            </table>
        </form>
    </div>

</body>
</html>